package demo

import (
	"time"
	"github.com/xgggh/test/api/entity"
)

func GetTaskDemo() entity.Task{
	param:=entity.Param{
		Title:"task param create api",
	}
	result:=entity.Result{
		Result:"200 ok",
	}
	 task :=entity.Task{
		 ProductId:112,
		 UserId:110,
		 Title:"task  create api",
		 Status:0,
		 Group:"/task",
		 Uri:"/",
		 Param:&param,
		 Result:&result,
		 CreateTime:time.Now(),
		 UpdateTime:time.Now(),
	 }
	return task
}
